import re


strs = 'mail_psc_fingerprint=c1be4ec6354df388b76d43600036e58d; _ntes_nnid=0dd64ab7c73d5eceefa6f8f393a005c4,1601124817734; _ntes_nuid=0dd64ab7c73d5eceefa6f8f393a005c4; idate_province=19; idate_city=0; NTES_OSESS=wiMsPPbSxWdi6KEJpNss__fPTECXD6HgiyWnkZCkJ4bXNNKp1ilCQ0SiJWtJeWp80Ny9JA4JcMc8DSZQiDwv6aFygyIANvU_GVvdcODFXSnlto9q4KqyzQI3isoshJG0mLRdSrIlWx1UVGZNK9Ai_zvf8oRjcgf8UqOOPu6q7UsflJeH4U5r5LWrGsQo3A2VTF_aGR8ObSDckhMDbsD8_bzCSygBvCzsjAwygCiZqEsyl; S_OINFO=1608890343|0|##|uid_c497523f109428a7b852282ed30bd29c@qq.163.com; P_OINFO=uid_c497523f109428a7b852282ed30bd29c@qq.163.com|1608890343|0|yuehui|00&99|null#0|null|yuehui|uid_c497523f109428a7b852282ed30bd29c@qq.163.com; sid=703992344g3wEpgmpuhYZoBe2qMCBFedawegSjhvZB8ENcSeqsKpO1QikyMWtBKXvRD2XjpcS; idateuid=703992344; idate_emsex=0; JSESSIONID=7A3ED5E0190AFC580CC45F1B429D0FBD'
strList = re.split(r';\S*', strs)
cookie = {}
for items in strList:
    item = items.split('=')
    key, value = item[0], item[1]
    cookie[str(key)] = str(value)
print(cookie)